Clamav AntiVirus
2016/06/22 |
Install Clam AntiVirus to protect your System from Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: comment out # Example
[root@dlp ~]#
vi /etc/sysconfig/freshclam # end line: comment out # FRESHCLAM_DELAY=disabled-warn
# update pattern files [root@dlp ~]# freshclam ClamAV update process started at Wed Jun 22 15:34:57 2016 main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer) daily.cld is up to date (version: 21769, sigs: 329782, f-level: 63, builder: neo) bytecode.cld is up to date (version: 281, sigs: 51, f-level: 63, builder: neo) |
[2] | Try to scan. |
# scan /home [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 4543230 Engine version: 0.99.2 Scanned directories: 2 Scanned files: 4 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 6.860 sec (0 m 6 s)[root@dlp ~]# clamscan --infected --remove --recursive . # just detected ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 4543230 Engine version: 0.99.2 Scanned directories: 3 Scanned files: 8 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 6.963 sec (0 m 6 s) |